package cn.wolfcode.luowowo.article.service.impl;

import cn.wolfcode.luowowo.article.domain.ScenicTag;
import cn.wolfcode.luowowo.article.mapper.ScenicTagMapper;
import cn.wolfcode.luowowo.article.service.IScenicTagService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class ScenicTagServiceImpl implements IScenicTagService {

    @Autowired
    private ScenicTagMapper scenicTagMapper;

    public List<ScenicTag> selectAll() {
        return scenicTagMapper.selectAll();
    }

    public List<ScenicTag> listTag7(Long destId) {
        return scenicTagMapper.listTag7(destId);
    }
}
